package com.nnfe.fyd.feature.inquiryreport;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.nnfe.fyd.base.BaseActivity;

/**
 * Created by dada on 2017/3/21.
 * 报单
 */

public class InquiryReportAcivity extends BaseActivity {

    /**
     *
     * @param context
     * @param id            // 订单号
     * @param num           // 最大估值
     */
    public static void lauch(Context context,String id,String num) {
        Intent intent = new Intent();
        intent.setClass(context, InquiryReportAcivity.class);
        intent.putExtra("id",id);
        intent.putExtra("num",num);
        context.startActivity(intent);
    }

    @Override
    public Fragment getContentFragment() {
        InquiryReportFragment fragment=new InquiryReportFragment();
        Bundle bundle=new Bundle();
        bundle.putString("id",getIntent().getStringExtra("id"));
        bundle.putString("num",getIntent().getStringExtra("num"));
        fragment.setArguments(bundle);
        return fragment;
    }
}
